home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODF-Interest Archive / July 96 / Re Tossing out undo commands < prev    next >
Encoding:
Internet Message Format  |  1996-07-08  |  971 b   |  [TEXT/ttxt]

  1. Subject:     Re: Tossing out undo commands
  2. Sent:        7/5/96 6:37 PM
  3. Received:    7/8/96 8:47 AM
  4. From:        Henri Lamiraux, lamiraux@apple.com
  5. Reply-To:    ODF Interest, ODF-Interest@CILabs.ORG
  6. To:          OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
  7.  
  8. >Suppose I would like to clear out the undo history to start again. How do I
  9. >do that in ODF?
  10. >
  11. >Thanks.
  12. >
  13. >Arni
  14. >Minds In Motion
  15. >
  16.  
  17. ODF doesn't have any special support for that. You need to call OpenDoc 
  18. directly. I think there is a ClearActionHistory in the ODUndo class. The 
  19. global Undo object can be gotten from the ODSession. Look also at the way 
  20. markers can be inserted in the action history.
  21.  
  22. ......................................................................
  23.  Henri Lamiraux                                      lamiraux@apple.com
  24.  Apple Computer, Inc.                 OpenDoc(tm) Development Framework
  25. ......................................................................
  26.  
  27.  
  28.